/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;

/**
 *
 * @author Thomas
 */
public interface IFDBCustomer 
{
    //get all customers
    public ArrayList<Customer> getAllCustomers();
    //get one employee having the ssn
    public Customer findCustomer(int customerId);
    //find one person having the name
    public Customer searchCustomerFname(String fname);
    //find one person having the surename
    public Customer searchCustomerLname(String lname);
    //insert a new customer
    public int insertCustomer(Customer customer);
    //update information about a customer
    public int updateCustomer(Customer customer);
    //delete a customer
    public int deleteCustomer(int customerId);
    
}
